#include <iostream>
#include "port.h"

using namespace std;

Port::Port()
{
    idPort = 0;
    nomPort = "";
    villePort = "";
}

Port::Port(int id, string nom, string ville)
{
    idPort = id;
    nomPort = nom;
    villePort = ville;
}

Port::~Port()
{

}

// GETTERS & SETTERS
int Port::getIdPort(){return idPort;}
void Port::setIdPort(int id) {idPort=id;}

string Port::getNomPort(){return nomPort;}
void Port::setNomPort(string nom) {nomPort=nom;}

string Port::getVillePort(){return villePort;}
void Port::setVillePort(string ville) {villePort=ville;}


void Port::modifierPort(string nom, string ville)
{
    nomPort = nom;
    villePort = ville;
}


